//
//  SNKSettingItem.h
//  SleepNews
//
//  Created by Kavee DJ on 2016/12/15.
//  Copyright © 2016年 Kavee DJ. All rights reserved.
//

#import <Foundation/Foundation.h>

typedef void(^SettingItemOption)();

@interface SNKSettingItem : NSObject

/** 图标 */
@property (nonatomic, copy) NSString *icon;
/** 标题 */
@property (nonatomic, copy) NSString *title;
/** 子标题 */
@property (nonatomic, copy) NSString *subTitle;
/** 事件Block */
@property (nonatomic, copy) SettingItemOption optionHandle;

+ (instancetype)itemWithItem:(NSString *)icon title:(NSString *)title;
+ (instancetype)itemWithItem:(NSString *)icon title:(NSString *)title subTitle:(NSString *)subTitle;

@end
